Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(pointcloud_preprocessor): add test for concatenate_data with the basic test case #6688

Closed

Conversation

Shin-kyoto
Copy link
Contributor

Description

  • Add test for pointcloud_preprocessor::PointCloudConcatenateDataSynchronizerComponent.
  • In this test, I'm checking the following:
    • Whether the /test/sensing/lidar/concatenated/pointcloud topic is being published when the offset is exactly as designed.
    • Whether the number of points in the concatenated point cloud matches the sum of the number of points in the point clouds before concatenation.
  • I chose the basic case following this code.

Related links

Tests performed

Build

$ colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON --packages-up-to pointcloud_preprocessor

Test

$ colcon test --packages-select pointcloud_preprocessor

Check the test result

$ colcon test-result --all --verbos
build/pointcloud_preprocessor/test_results/pointcloud_preprocessor/test_test_concatenate_data.py.xunit.xml: 2 tests, 0 errors, 0 failures, 0 skipped
build/pointcloud_preprocessor/test_results/pointcloud_preprocessor/test_test_distortion_corrector.py.xunit.xml: 2 tests, 0 errors, 0 failures, 0 skipped
build/pointcloud_preprocessor/test_results/pointcloud_preprocessor/test_test_distortion_corrector_use_imu_false.py.xunit.xml: 2 tests, 0 errors, 0 failures, 0 skipped
build/pointcloud_preprocessor/test_results/pointcloud_preprocessor/xmllint.xunit.xml: 7 tests, 0 errors, 0 failures, 0 skipped
Summary: 567 tests, 0 errors, 377 failures, 72 skipped

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

@kminoda
Please review this PR keeping the following points in mind, and give me an advice 🙏

  • Please check if the test functions within pointcloud_preprocessor have been effectively modularized.
  • Please check if the design is capable of handling various test cases.

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@Shin-kyoto Shin-kyoto requested a review from kminoda March 26, 2024 00:10
@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Mar 26, 2024
@Shin-kyoto Shin-kyoto marked this pull request as ready for review March 26, 2024 00:11
@kminoda kminoda marked this pull request as draft March 29, 2024 01:20
Copy link

stale bot commented May 31, 2024

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the status:stale Inactive or outdated issues. (auto-assigned) label May 31, 2024
@vividf
Copy link
Contributor

vividf commented Aug 16, 2024

I will close this PR since this PR #8300 add test for new design concatenate node

@vividf vividf closed this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) status:stale Inactive or outdated issues. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants